using System;
using System.Collections.Generic;
using System.Text;

namespace org.ngwt.user.server.rpc
{
    public class ParseException : Exception
    {
        private string _lineMessage;
        private int _line;
        public ParseException(string lineMessage,int line)
        {
            _lineMessage = lineMessage;
            _line = line;

        }
        public override string Message
        {
            get
            {
                return _lineMessage + " on line " + _line + ".";
            }
        }
    }
}
